Sparse Serial Tests of Uniformity for Random Number Generators
نویسندگان
چکیده
Different versions of the serial test for testing the uniformity and independence of vectors of successive values produced by a (pseudo)random number generator are studied. These tests partition the t-dimensional unit hypercube into k cubic cells of equal volume, generate n points (vectors) in this hypercube, count how many points fall in each cell, and compute a test statistic defined as the sum of values of some univariate function f applied to these k individual counters. Both the overlapping and the non-overlapping vectors are considered. For different families of generators, such as the linear congruential, Tausworthe, nonlinear inversive, etc., different ways of choosing these functions and of choosing k are compared, and formulas are obtained for the (estimated) sample size required to reject the null hypothesis of i.i.d. uniformity as a function of the period length of the generator. For the classes of alternatives that correspond to linear generators, the most efficient tests turn out to have k n (in contrast to what is usually done or recommended in simulation books) and use overlapping vectors.
منابع مشابه
Sparse Serial Tests of Uniformity for Random Number
Diierent versions of the serial test for testing the uniformity and independence of vectors of successive values produced by a (pseudo)random number generator are studied. These tests partition the t-dimensional unit hypercube into k cubic cells of equal volume, generate n points (vectors) in this hypercube, count how many points fall in each cell, and compute a test statistic deened as the sum...
متن کاملStatistical Tests of Some Widely Used and Recently Proposed Uniform Random Number Generators
Several widely used uniform random number generators have been extensively subjected to three commonly used statistical tests of uniformity and randomness. The object was 1) to examine the power of these statistical tests to discriminate between "good" and "bad" random number generators, 11) to correlate these results with recently proposed mathematical characterizations of random number genera...
متن کاملRandom Number Generators: Metrics and Tests for Uniformity and Randomness
Random number generators are a small part of any computer simulation project. Yet they are the heart and the engine that drives the project. Often times software houses fail to understand the complexity involved in building a random number generator that will satisfy the project requirements and will be able to produce realistic results. Building a random number generator with a desirable perio...
متن کاملRandom walk tests for pseudo-random number generators
It is well known that there are no perfectly good generators of random number sequences, implying the need of testing the randomness of the sequences produced by such generators. There are many tests for measuring the uniformity of random sequences, and here we propose a few new ones, designed by random walks. The experiments we have made show that our tests discover some discrepancies of rando...
متن کاملTesting the Tests: Using Random Number Generators to Improve Empirical Tests
The implementer of an empirical test for random number generators is faced with some difficult problems, especially if the test is based on a statistic which is known only approximately: How can the test be tested? How can the approximation be improved? When is it good enough? A number of principles can be applied to these problems. These principles are illustrated using implementations of the ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- SIAM J. Scientific Computing
دوره 24 شماره
صفحات -
تاریخ انتشار 2002